import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }


export function addInHost(data) {
    return request({
        url: getUrl("admin/host/addInHost"),
        method: 'post',
        data
    })
}

export function updateInHost(data) {
    return request({
        url: getUrl("admin/host/updateInHost"),
        method: 'post',
        data
    })
}


export function deleteInHost(data) {
    return request({
        url: getUrl("admin/host/deleteInHost"),
        method: 'post',
        data
    })
}



export function getInHostVo(data) {
    return request({
        url: getUrl("admin/host/getInHostVo"),
        method: 'post',
        data
    })
}


